package com.bawei.module_live.version1

import retrofit2.http.GET
import retrofit2.http.Query

interface GoodsApi {
    @GET("/goods/info")
    suspend fun getGoodsList(
        @Query("category_id") categoryId: Int,
        @Query("currentPage") currentPage: Int,
        @Query("pageSize") pageSize: Int,
        @Query("room_id") roomId: Int
    ): GoodsListResponse
}

data class GoodsListResponse(
    val code: Int,
    val msg: String,
    val data: List<GoodsEntity>
) 